package pro.cherish.knowledgenotifycore.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

import java.util.HashMap;
import java.util.Map;

@Configuration
@Data
@PropertySource(value = "classpath:application-notify.properties")
@ConfigurationProperties(prefix = "cherishmall.notify.sms")
public class Sms {
    private boolean enable;
    private int appid;
    private String appkey;
    private Map<String, String> template =new HashMap<>();
}